package at.sysarch.filter;

import javax.media.jai.JAI;
import javax.media.jai.PlanarImage;

public class FileLoad extends AbstractListenerManager {
	private String _file = "kastanien11.jpg";
	private PlanarImage _image = null;

	public PlanarImage getImage() {
		return _image;
	}
	
	private void setImage(PlanarImage image) {
		_image = image;
		fireImageChanged(image);
	}
	
	public String getFile() {
		return _file;
	}

	public void setFile(String file) {
		_file = file;
		setImage(JAI.create("fileload", _file));
	}
}